# @Time : 2025/2/27 15:10
# @Author : Fioman 
# @Phone : 13149920693
"""

"""
from datetime import datetime

from db_tool.db_config import TableName, TableRegister, re_init_table

tableName: str = TableName.produceAmountRecords.name
initData = {
    "key": "1",
    "recordYear": datetime.now().year,
    "1": 0,
    "2": 0,
    "3": 0,
    "4": 0,
    "5": 0,
    "6": 0,
    "7": 0,
    "8": 0,
    "9": 0,
    "10": 0,
    "11": 0,
    "12": 0,
    "dayAmount": {

    }
}
TableRegister.register_table(tableName, initData)
if __name__ == '__main__':
    # 重新创建表结构,或者新增表字段之后,重新初始化表内容,谨慎使用
    re_init_table(tableName, initData)
